import axios from 'axios'
const baseURL = '/api'
const aisURL = '/ais'


// 港口查询接口
export const searchPorts = (params) => {
    return axios({
        method: 'get',
        url: baseURL + '/ports/search',
        params: params
    })
}

// 路径规划接口
export const pathPlanning = (data) => {
    return axios({
        method: 'post',
        url: aisURL + '/star/ht',
        data: data
    })
}


